package com.groot.medical.entity;

import java.io.Serializable;
import java.util.Date;

public class ChronicPattern implements Serializable{

	/**
	 * CREATE TABLE `t_chronic_pattern` (
  `chronic_pattern_code` varchar(250) NOT NULL,
  `farmingcard_code` varchar(125) DEFAULT NULL,
  `idcard_code` varchar(250) DEFAULT NULL,
  `ill_name` varchar(250) DEFAULT NULL,
  `start_time` datetime DEFAULT NULL,
  `end_time` datetime DEFAULT NULL,
  PRIMARY KEY (`chronic_pattern_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


	 */
	private static final long serialVersionUID = 1L;
	private String chronicPatternCode;
	private String farmingCardCode;
	private String idCardCode;
	private String illName;
	private Date startTime;
	private Date endTime;
	private PersonalFiles person;
	
	
	public PersonalFiles getPerson() {
		return person;
	}
	public void setPerson(PersonalFiles person) {
		this.person = person;
	}
	public String getChronicPatternCode() {
		return chronicPatternCode;
	}
	public void setChronicPatternCode(String chronicPatternCode) {
		this.chronicPatternCode = chronicPatternCode;
	}
	public String getFarmingCardCode() {
		return farmingCardCode;
	}
	public void setFarmingCardCode(String farmingCardCode) {
		this.farmingCardCode = farmingCardCode;
	}
	public String getIdCardCode() {
		return idCardCode;
	}
	public void setIdCardCode(String idCardCode) {
		this.idCardCode = idCardCode;
	}
	public String getIllName() {
		return illName;
	}
	public void setIllName(String illName) {
		this.illName = illName;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "ChronicPattern [chronicPatternCode=" + chronicPatternCode + ", farmingCardCode=" + farmingCardCode
				+ ", idCardCode=" + idCardCode + ", illName=" + illName + ", startTime=" + startTime + ", endTime="
				+ endTime + ", person=" + person + "]";
	}
	
	
	
}
